<template>
    <view>
        <view v-if="url">
			<web-view @message="handlePostMessage" :src="url"></web-view>
		</view>
		
		<!-- <view class="text" v-if="!url">
			<a href='https://work.weixin.qq.com/kfid/kfc7b92dee1aa6e7fe5' >点击进入在线客服</a >
		</view> -->
		
		<!-- <view class="text">
			<uni-link href="https://work.weixin.qq.com/kfid/kfc7b92dee1aa6e7fe5" text="点击进入在线客服" showUnderLine="false" 
				color="#2124db" font-size="20"></uni-link>
		</view> -->
    </view>
</template>

<script>
	export default {
		data() {
			return {
				url:'',
			};
		},
		onLoad(options) {
			if (options.url) {
				this.url = options.url
			} else {
				// this.url = "https://w102.ttkefu.com/k/linkurl/?t=1G6BCJ0"
			}
			
			console.log(this.url)
		},
		methods: {
			
		}
	};
</script>

<style lang="scss">
	.text{
		padding: 80rpx;
		font-size: 50rpx;
	}
    
</style>
